package com.thermoberg.passport.entity;

import java.sql.Timestamp;

/**
 * Created by wanghe on 2016/11/2.
 */
public class SbyPassport {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String qq;
    private Timestamp createAt;
    private String email;
    private String phoneNumber;
    private Integer userrole;
    private SmsManager smsManager;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getUserrole() {
        return userrole;
    }

    public void setUserrole(Integer userrole) {
        this.userrole = userrole;
    }

    public SmsManager getSmsManager() {
        return smsManager;
    }

    public void setSmsManager(SmsManager smsManager) {
        this.smsManager = smsManager;
    }

    public SbyPassport() {
    }

    public SbyPassport(Integer id, String username, String password, String nickname, String qq, Timestamp createAt, String email, String phoneNumber, Integer userrole, SmsManager smsManager) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.qq = qq;
        this.createAt = createAt;
        this.email = email;
        this.phoneNumber = phoneNumber;
        this.userrole = userrole;
        this.smsManager = smsManager;
    }

    @Override
    public String toString() {
        return "SbyPassport{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", qq='" + qq + '\'' +
                ", createAt=" + createAt +
                ", email='" + email + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", userrole=" + userrole +
                ", smsManager=" + smsManager +
                '}';
    }
}
